package com.project.personnel.service.impl;

import com.project.personnel.entity.Employeeremove;
import com.project.personnel.dao.EmployeeremoveMapper;
import com.project.personnel.service.EmployeeremoveService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author diaominyh
 * @since 2022-12-12
 */
@Service
public class EmployeeremoveServiceImpl extends ServiceImpl<EmployeeremoveMapper, Employeeremove> implements EmployeeremoveService {
    @Resource
    EmployeeremoveMapper mapper;
    @Override
    public List<Employeeremove> selectAll(Integer pageNum,Integer pageSize) {
        return mapper.selectAll(pageNum,pageSize);
    }

    @Override
    public List<Employeeremove> getLike(String empName, String workID, Integer pageNum, Integer pageSize) {
        return mapper.getLike(empName, workID,pageNum,pageSize);
    }
    @Resource
    EmployeeremoveMapper employeeremoveMapper;
    @Override
    public List<Integer> getremoveinformation() {
        return employeeremoveMapper.getremoveinformation();
    }
}
